package com.jzo2o.customer.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jzo2o.common.model.PageResult;
import com.jzo2o.customer.model.domain.AgencyCertificationAudit;
import com.jzo2o.customer.model.dto.request.AgencyCertificationAuditPageQueryReqDTO;

/**
 * 机构认证审核信息表 服务类
 */

public interface IAgencyCertificationAuditService extends IService<AgencyCertificationAudit> {

    /**
     * 分页查询机构审核信息
     *
     * @param agencyCertificationAuditPageQueryReqDTO
     * @return
     */
    PageResult<AgencyCertificationAudit> servePage(AgencyCertificationAuditPageQueryReqDTO agencyCertificationAuditPageQueryReqDTO);

    /**
     * 机构认证审核
     *
     * @param id
     * @param rejectReason
     * @param certificationStatus
     */
    void audit(Long id, String rejectReason, Integer certificationStatus);
}
